import { ajax } from "./ajax.js";
var urlH = "http://localhost:8080";

export function checkCodeM() {
    var checkCodeMsg;
    var url = urlH + "/user/checkCode?";
    var data = new Date().getTime();
    ajax('get', url, data, function (res) {
        if (res.status == 200) {
            checkCodeMsg = res;
        } else {
            alert(res.msg);
        }
    }, false)
    return checkCodeMsg;
}

